c# get class name by type

95

c# get class name by type -

typeof(T).Name // class name, no namespace
typeof(T).FullName // namespace and class name
typeof(T).Namespace // namespace, no class name

Comments

Submit
0 Comments